package com.jmy.mapper;

import com.jmy.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author: VE
 * @DATE: 2022/9/27 14:09
 * 描述:
 */
@Mapper
public interface MenuMapper {


    int insert(Menu menu);


    int delete(int id);

    int update(Menu menu);

    Menu load(int id);


    List<Menu> getMenuListByRid(Map<String, Object> map);
}
